package com.zlc.common.core.process.model.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.zlc.common.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author  zl
 * @date 2023-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "流程权限配置表")
public class StoneProcessAuthConfigVo extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 流程定义ID
	 */
	@ApiModelProperty(value="流程定义ID")
	private String processId;

	/**
	 * 配置类型 PROCESS|NODE
	 */
	@ApiModelProperty(value = "配置类型 PROCESS|NODE")
	private String authType;

	/**
	 * 用户类型
	 */
	@ApiModelProperty(value="用户类型")
	private String userType;

	/**
	 * 节点ID
	 */
	@ApiModelProperty(value="节点ID")
	private String nodeId;

	/**
	 * 权限资源
	 */
	@ApiModelProperty(value="权限资源")
	private String authRes;

	/**
	 * 是否允许
	 */
	@ApiModelProperty(value="是否允许")
	private Boolean allowFlag;

	/**
	 * 是否拒绝
	 */
	@ApiModelProperty(value="是否拒绝")
	private Boolean refuseFlag;

	/**
	 * 序号
	 */
	@ApiModelProperty(value="序号")
	private Integer order;

}
